package com.baizhi.dao;

import com.baizhi.entity.Admin;

import java.util.List;

public interface AdminDAO {
    Admin selectByUsername(String username);

    Admin selectByid(int id);
    List<Admin> selectAll(String username);
    void insertAdmin(Admin admin);
    void deleteById(int id);
    void updateAdmin(Admin admin);
}
